Make the event-channel pending and mask arrays consist of
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 17 Oct 2005 14:15:17 +0000 (15:15 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 17 Oct 2005 14:15:17 +0000 (15:15 +0100)
commit3afe806f6fc892fe7ba31e2d7f2059d0ac1766da
treec6e3bec49aadd1687bbfc92c8756f24525440862
parentdcd2f1cf1fb61742d669a959f552c774f36eb832
Make the event-channel pending and mask arrays consist of
longs. Thi sensures appropriate alignment for architectures
that require it, and also allows us to naturally support up
to 4096 event channels per 64-bit guest.

Moved 'n_vcpu' field from shared_info to start_info. Really it
ought to disappear altogether as the info can be derived from
xenstore.

Fix a weird bug in XendDomainInfo where 'vcpus' information for
a domain defaults to floating point value 1.0 rather than integer
1. This looks like a Python bug to me, but in any case it is
'fixed' by explicitly converting the default value to an integer.

Signed-off-by: Keir Fraser <keir@xensource.com>
17 files changed:
linux-2.6-xen-sparse/arch/ia64/xen/drivers/evtchn_ia64.c
linux-2.6-xen-sparse/arch/xen/i386/kernel/smpboot.c
linux-2.6-xen-sparse/arch/xen/kernel/evtchn.c
linux-2.6-xen-sparse/arch/xen/x86_64/kernel/smpboot.c
linux-2.6-xen-sparse/include/asm-xen/asm-i386/mach-xen/smpboot_hooks.h
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/mach-xen/smpboot_hooks.h
linux-2.6-xen-sparse/include/asm-xen/evtchn.h
tools/libxc/xc_linux_build.c
tools/libxc/xc_vmx_build.c
tools/python/xen/xend/XendDomainInfo.py
xen/arch/ia64/vmx/vmx_support.c
xen/arch/x86/domain_build.c
xen/arch/x86/vmx_io.c
xen/common/keyhandler.c
xen/include/public/xen.h
xen/include/xen/event.h
xen/include/xen/sched.h